#!/bin/bash

echo "remap the device serial port(VideoX) to camera"
echo "start copy camera.rules to  /etc/udev/rules.d/"
sudo cp ./camera.rules  /etc/udev/rules.d
echo " "
echo "Restarting udev"
echo ""
sudo udevadm control --reload-rules
sudo service udev restart
sudo udevadm trigger
echo "finish "
